package edu.bjtu.supplychain.entity;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

@Getter
@Setter
@ToString
public class Farm {
    private String factoryCode;

    private String cropId;

    private String seedId;

    private String cropName;

    private String reapTime;

    private String sponsor;

    private String logTime;

    public Farm(String factoryCode, String cropId, String seedId, String cropName, String reapTime, String sponsor, String logTime) {
        this.factoryCode = factoryCode;
        this.cropId = cropId;
        this.seedId = seedId;
        this.cropName = cropName;
        this.reapTime = reapTime;
        this.sponsor = sponsor;
        this.logTime = logTime;
    }

    public Farm() {
    }
}
